<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <meta name="renderer" content="webkit">
    <title></title>  
    <link rel="stylesheet" href="{CSS_PATH}pintuer.css">
    <link rel="stylesheet" href="{CSS_PATH}admin.css">
    <script src="{JS_PATH}jquery.js"></script>
    <script src="{JS_PATH}pintuer.js"></script>
</head>
<body>
<form method="post" action="">
  <div class="panel admin-panel">
    <div class="panel-head"><strong class="icon-reorder"> 留言管理</strong></div>
    <div class="padding border-bottom">
      <!--<ul class="search">
        <li>
          <button type="button"  class="button border-green" id="checkall"><span class="icon-check"></span> 全选</button>
          <button type="submit" class="button border-red"><span class="icon-trash-o"></span> 批量删除</button>
        </li>
      </ul>-->
    </div>
    <table class="table table-hover text-center">
      <tr>
        <th width="120">ID</th>
        <th>姓名</th>       
        <th>电话</th>
        <th>人数</th>
        <th>路线</th>
        <th>出发日期</th>
        <th width="25%">备注</th>

        <th>操作</th>       
      </tr>
        {foreach $data $v}
        <tr>
          <td>{$v['id']}</td>
          <td>{$v['name']}</td>
          <td>{$v['tel']}</td>
          <td>{$v['people']}</td>
           <td>{$v['route']}</td>
          <td>{$v['time']}</td>
          <td>{$v['remark']}</td>
          <td><div class="button-group"> <a class="button border-red" href="index.php?m=admin&f=book&a=del&id={$v['id']}"><span class="icon-trash-o"></span> 删除</a> </div></td>
        </tr>
        {/foreach}
      <tr>
        <td colspan="8"><div class="pagelist"> {$page}</div></td>
      </tr>
    </table>
  </div>
</form>
<script type="text/javascript">

function del(id){
	if(confirm("您确定要删除吗?")){
		
	}
}


</script>
</body></html>